Optimal. Leaf size=93 \[ \frac{x^{m+1} (a B (m+1)+A b (2-m)) \, _2F_1\left (1,\frac{m+1}{3};\frac{m+4}{3};-\frac{b x^3}{a}\right )}{3 a^2 b (m+1)}+\frac{x^{m+1} (A b-a B)}{3 a b \left (a+b x^3\right )} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0415492, antiderivative size = 93, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.1, Rules used = {457, 364} \[ \frac{x^{m+1} (a B (m+1)+A b (2-m)) \, _2F_1\left (1,\frac{m+1}{3};\frac{m+4}{3};-\frac{b x^3}{a}\right )}{3 a^2 b (m+1)}+\frac{x^{m+1} (A b-a B)}{3 a b \left (a+b x^3\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 457
Rule 364
Rubi steps
\begin{align*} \int \frac{x^m \left (A+B x^3\right )}{\left (a+b x^3\right )^2} \, dx &=\frac{(A b-a B) x^{1+m}}{3 a b \left (a+b x^3\right )}+\frac{(-A b (-2+m)+a B (1+m)) \int \frac{x^m}{a+b x^3} \, dx}{3 a b}\\ &=\frac{(A b-a B) x^{1+m}}{3 a b \left (a+b x^3\right )}+\frac{(A b (2-m)+a B (1+m)) x^{1+m} \, _2F_1\left (1,\frac{1+m}{3};\frac{4+m}{3};-\frac{b x^3}{a}\right )}{3 a^2 b (1+m)}\\ \end{align*}
Mathematica [A] time = 0.0575832, size = 80, normalized size = 0.86 \[ \frac{x^{m+1} \left ((A b-a B) \, _2F_1\left (2,\frac{m+1}{3};\frac{m+4}{3};-\frac{b x^3}{a}\right )+a B \, _2F_1\left (1,\frac{m+1}{3};\frac{m+4}{3};-\frac{b x^3}{a}\right )\right )}{a^2 b (m+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.044, size = 0, normalized size = 0. \begin{align*} \int{\frac{{x}^{m} \left ( B{x}^{3}+A \right ) }{ \left ( b{x}^{3}+a \right ) ^{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (B x^{3} + A\right )} x^{m}}{{\left (b x^{3} + a\right )}^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{{\left (B x^{3} + A\right )} x^{m}}{b^{2} x^{6} + 2 \, a b x^{3} + a^{2}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (B x^{3} + A\right )} x^{m}}{{\left (b x^{3} + a\right )}^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]